<template>
  <div class="brand">
    <!-- 品牌搜索 -->
    <div class="brand-top">
      <div class="rollback">
        <img
          src="http://10.31.169.37:3000/images/王/pinpai-list/arrows-icon.png"
          alt=""
        />
      </div>
      <van-search
        v-model="value"
        shape="round"
        background="rgba(0, 0, 0, 0)"
        placeholder="探索品牌"
        class="search"
      />
    </div>
    <!-- 品牌主题馆 -->
    <div class="brand-mid">
      <div class="brand-list">
        <h3>品牌主题馆</h3>
        <ul>
          <li>
            <img
              src="http://10.31.169.37:3000/images/王/pinpai-list/pic-guifu.png"
              alt=""
            />
            <p>贵妇牌</p>
          </li>
          <li>
            <img
              src="http://10.31.169.37:3000/images/王/pinpai-list/pic-pingjia.png"
              alt=""
            />
            <p>平价馆</p>
          </li>
          <li>
            <img
              src="http://10.31.169.37:3000/images/王/pinpai-list/pic-chengfen.png"
              alt=""
            />
            <p>成分党</p>
          </li>
          <li>
            <img
              src="http://10.31.169.37:3000/images/王/pinpai-list/pic-minganji.png"
              alt=""
            />
            <p>敏感肌</p>
          </li>
          <li>
            <img
              src="http://10.31.169.37:3000/images/王/pinpai-list/pic-guohuo.png"
              alt=""
            />
            <p>国货馆</p>
          </li>
          <li>
            <img
              src="http://10.31.169.37:3000/images/王/pinpai-list/pic-rihan.png"
              alt=""
            />
            <p>日韩馆</p>
          </li>
          <li>
            <img
              src="http://10.31.169.37:3000/images/王/pinpai-list/pic-meizhou.png"
              alt=""
            />
            <p>美洲馆</p>
          </li>
          <li>
            <img
              src="http://10.31.169.37:3000/images/王/pinpai-list/pic-ouzhou.png"
              alt=""
            />
            <p>欧洲馆</p>
          </li>
          <li>
            <img
              src="http://10.31.169.37:3000/images/王/pinpai-list/pic-qita.png"
              alt=""
            />
            <p>其他地区</p>
          </li>
        </ul>
      </div>
    </div>
    <div class="brand-list-mid">
      <span>品牌TOP100周榜</span>
      <img
        src="http://10.31.169.37:3000/images/王/pinpai-list/jiangbei.png"
        alt=""
      />
    </div>
    <!--  -->
    <div class="brand-bottom">
      <div class="lists">
        <span class="active">热度榜</span>
        <span>评分榜</span>
        <span>回购率榜</span>
      </div>

      <van-notice-bar
        scrollable
        text="榜单规则：每周一6:00发布|本期更新于2021/05/21"
        class="notice"
      />
      <ul class="notice-lists">
        <li>
          <div class="left">
            <span>1</span>
            <div>
              <img
                src="http://10.31.169.37:3000/images/王/pinpai-list/keyan-logo.png"
                alt=""
              />
              <div class="title">
                <em>科颜氏</em>
                <em>KIEHL’S</em>
              </div>
            </div>
          </div>
          <div class="right">
            <img
              src="http://10.31.169.37:3000/images/王/pinpai-list/xingzhuang5.png"
              alt=""
            />
            <span>126,442</span>
          </div>
        </li>
        <li>
          <div class="left">
            <span>2</span>
            <div>
              <img
                src="http://10.31.169.37:3000/images/王/pinpai-list/keyan-logo.png"
                alt=""
              />
              <div class="title">
                <em>科颜氏</em>
                <em>KIEHL’S</em>
              </div>
            </div>
          </div>
          <div class="right">
            <img
              src="http://10.31.169.37:3000/images/王/pinpai-list/xingzhuang5.png"
              alt=""
            />
            <span>126,442</span>
          </div>
        </li>
        <li>
          <div class="left">
            <span>3</span>
            <div>
              <img
                src="http://10.31.169.37:3000/images/王/pinpai-list/keyan-logo.png"
                alt=""
              />
              <div class="title">
                <em>科颜氏</em>
                <em>KIEHL’S</em>
              </div>
            </div>
          </div>
          <div class="right">
            <img
              src="http://10.31.169.37:3000/images/王/pinpai-list/xingzhuang5.png"
              alt=""
            />
            <span>126,442</span>
          </div>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
import { Search, NoticeBar } from "vant";
export default {
  data() {
    return {
      value: "",
    };
  },
  components: {
    VanSearch: Search,
    VanNoticeBar: NoticeBar,
  },
};
</script>

<style lang="less" scoped>
.brand {
  width: 100%;
  background: url(http://10.31.169.37:3000/images/王/pinpai-list/beijing.png)
    no-repeat 65% 0;
  background-size: 100% * 1.2 700px;
  padding-bottom: 100px;
  // 品牌搜索
  .brand-top {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    .rollback {
      display: inline-block;
      height: 30px;
      // margin-top: 10px;
      img {
        display: inline-block;
        // padding-top: 5px;
        height: 28px;
      }
    }
    .search {
      width: 90%;
      display: inline-block;
    }
  }
  // 品牌主题馆
  .brand-mid {
    width: 100%;
    margin-top: 20px;
    padding: 0 5px;
    .brand-list {
      width: 100%;
      h3 {
        padding-left: 15px;
        color: #fff;
        font-size: 18px;
        font-weight: 500;
        margin-bottom: 20px;
      }
      ul {
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
        li {
          width: 107px;
          display: inline-block;
          img {
            width: 107px;
            height: 70px;
          }
          p {
            font-size: 14px;
            margin: 10px 0 15px 0;
            text-align: center;
            color: #fff;
          }
        }
      }
    }
  }
  .brand-list-mid {
    display: block;
    width: 100%;
    height: 80px;
    background: url(http://10.31.169.37:3000/images/王/pinpai-list/xignzhuang1.png)
      no-repeat 80% 50%;
    margin-top: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    span {
      font-size: 18px;
      color: #fff;
      padding-left: 20px;
    }
    img {
      width: 80px;
      right: 80px;
      padding-right: 0 20px 50px 0;
      margin-bottom: 50px;
    }
  }
  .brand-bottom {
    width: 100%;
    margin: auto;
    background-color: #fff;
    .lists {
      display: flex;
      justify-content: space-around;
      align-items: center;
      width: 100%;
      height: 50px;
      background: url(http://10.31.169.37:3000/images/王/pinpai-list/juxing.png)
        no-repeat;
      span {
        color: rgb(125, 207, 207);
        font-size: 14px;
        margin-top: 20px;
        padding-bottom: 13px;
      }
      span.active {
        color: darkcyan;
        border-bottom: 2px solid darkcyan;
      }
    }
    .notice {
      width: 85%;
      margin: 10px auto;
      background-color: rgb(243, 208, 196);
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-radius: 20px;
      font-size: 10px;
      height: 35px;
      font-weight: 500;
    }
    .notice-lists {
      li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px 30px;
        border-bottom: 1px solid #eee;
        .left {
          display: flex;
          align-items: center;
          span {
            height: 100%;
            font-size: 25px;
            margin-bottom: 10px;
            text-align: center;
            color: #aaa;
            margin-right: 20px;
          }
          div {
            display: flex;
            align-items: center;
            img {
              width: 60px;
            }
            .title {
              display: flex;
              align-items: center;
              margin-left: 5px;
              width: 70px;
              flex-wrap: wrap;
              em {
                font-size: 17px;
                margin-top: 5px;
                font-weight: 530;
              }
            }
          }
        }
        .right {
          display: inline-block;
          img {
            width: 12px;
            margin-right: 12px;
          }
          span {
            color: rgb(255, 124, 124);
            font-size: 14px;
          }
        }
      }
    }
  }
}
</style>
